/*! For license information please see main.js.LICENSE.txt */ (()=>{var __webpack_modules__={394:(e,t,n)=>{n(317);const{loadApsTag:r}=n(677),{processCommandQueue:i}=n(472),{events:o}=n(502),{gptEnqueue:a}=n(565),{installGptBridge:s}=n(531),d=n(345),c=n(248),{loadAsyncScript:u}=n(621);e.exports=e=>{u("https://securepubads.g.doubleclick.net/tag/js/gpt.js"),window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[];const t=new c(e);o.state=t,a((n=>{n.pubads().setCentering(!0),e.gamCollapseEmptyDivs&&n.pubads().collapseEmptyDivs(),n.pubads().disableInitialLoad(),n.pubads().enableSingleRequest(),n.enableServices(),s(t)})),d.info("Main.config",t.config),t.config.loadAps&&r(t.config),o.emit("init").then((()=>o.emit("pageview"))).then((()=>{t.cmd=window.htlbid.cmd,window.htlbid=t,i(t)}))}},482:()=>{if(window.pbjs&&window.pbjs.libLoaded)try{window.pbjs.getConfig("debug")&&console.warn("Attempted to load a copy of Prebid.js that clashes with the existing 'pbjs' instance. Load aborted.")}catch(e){}else(function(){!function(){var e,t={265:function(e,t,n){function r(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r>>0,o=0;if(t)n=t;else{for(;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[d])}))?n.splice(d--,1):(s=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,i,o]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={602:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var i,o,a=n[0],s=n[1],d=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(d)var u=d(r)}for(t&&t(n);c0;)try{this.cmd.shift().call()}catch(e){(0,i.H)("Error processing Renderer command: ",e)}}},4947:function(e,t,n){n.d(t,{EL:function(){return a},Jt:function(){return p},K$:function(){return i},S1:function(){return r},S5:function(){return o},UE:function(){return s},e:function(){return c},g0:function(){return l},oK:function(){return u},x$:function(){return d}});var r="accessDevice",i="syncUser",o="enrichUfpd",a="enrichEids",s="fetchBids",d="reportAnalytics",c="transmitEids",u="transmitUfpd",l="transmitPreciseGeo",p="transmitTid"},286:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(3304),i=(0,n(6310).Oj)((function(e){return r.ZP.resolveAlias(e)}))},9633:function(e,t,n){n.d(t,{UL:function(){return i},XG:function(){return a},_U:function(){return s},wu:function(){return r},y2:function(){return o}});var r="prebid",i="bidder",o="userId",a="rtd",s="analytics"},6310:function(e,t,n){n.d(t,{$k:function(){return s},Hw:function(){return m},IV:function(){return f},JR:function(){return a},Ki:function(){return c},Oj:function(){return g},Qf:function(){return l},bL:function(){return u},bp:function(){return d},cx:function(){return p}});var r=n(4942),i=n(9633),o=n(2797),a="component",s=a+"Type",d=a+"Name",c="adapterCode",u="storageType",l="configName",p="syncType",f="syncUrl",m="_config";function g(e){return function(t,n,o){var u,l=(u={},(0,r.Z)(u,s,t),(0,r.Z)(u,d,n),(0,r.Z)(u,a,"".concat(t,".").concat(n)),u);return t===i.UL&&(l[c]=e(n)),v(Object.assign(l,o))}}var v=(0,o.z3)("sync",(function(e){return e}))},1087:function(e,t,n){n.d(t,{$8:function(){return l},Db:function(){return g},Mp:function(){return y},RD:function(){return v},ZZ:function(){return p},a:function(){return b},hb:function(){return _},js:function(){return h}});var r=n(1002),i=n(885),o=n(265),a=n(3193),s=n(571),d=n(4947);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?t.join("."):null,n]}))})),function(t,n){for(var r=[],a=arguments.length,s=new Array(a>2?a-2:0),d=2;d1?t-1:0),r=1;r0)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.xD;return function(n){return!t(e,n)}}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.xD;return[{name:d.oK,paths:l,applies:h(d.oK,e)},{name:d.e,paths:p,applies:h(d.e,e)},{name:d.g0,paths:f,applies:h(d.g0,e),get:function(e){return Math.round(100*(e+Number.EPSILON))/100}},{name:d.Jt,paths:["source.tid"],applies:h(d.Jt,e)}].map(m)}var _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.xD,t=g(y(e)),n=g(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.xD;return[{name:d.e,paths:["userId","userIdAsEids"],applies:h(d.e,e)},{name:d.Jt,paths:["ortb2Imp.ext.tid"],applies:h(d.Jt,e)}].map(m)}(e));return function(e){var r={};return{ortb2:function(n){return t(r,n,e),n},bidRequest:function(t){return n(r,t,e),t}}}}();(0,s.oB)(d.Jt,"enableTIDs config",(function(){if(!a.vc.getConfig("enableTIDs"))return{allow:!1,reason:"TIDs are disabled"}}))},571:function(e,t,n){n.d(t,{oB:function(){return u},xD:function(){return l}});var r=n(885),i=n(4358),o=n(6310);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){d=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(d)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:(0,i.qp)("Activity control:"),t={};function n(e){return t[e]=t[e]||[]}function s(t,n,r,i){var a;try{a=r(i)}catch(r){e.logError("Exception in rule ".concat(n," for '").concat(t,"'"),r),a={allow:!1,reason:r}}return a&&Object.assign({activity:t,name:n,component:i[o.JR]},a)}var d={};function c(t){var n=t.activity,r=t.name,i=t.allow,o=t.reason,a=t.component,s="".concat(r," ").concat(i?"allowed":"denied"," '").concat(n,"' for '").concat(a,"'").concat(o?":":""),c=d.hasOwnProperty(s);if(c&&clearTimeout(d[s]),d[s]=setTimeout((function(){return delete d[s]}),1e3),!c){var u=[s];o&&u.push(o),(i?e.logInfo:e.logWarn).apply(e,u)}}return[function(e,t,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,a=n(e),s=a.findIndex((function(e){var t=(0,r.Z)(e,1)[0];return o=0&&a.splice(e,1)}},function(e,t){var i,o,d,u=a(n(e));try{for(u.s();!(d=u.n()).done;){var l=(0,r.Z)(d.value,3),p=l[0],f=l[1],m=l[2];if(i!==p&&o)break;i=p;var g=s(e,f,m,t);if(g){if(!g.allow)return c(g),!1;o=g}}}catch(e){u.e(e)}finally{u.f()}return o&&c(o),!0}]}(),c=(0,r.Z)(d,2),u=c[0],l=c[1]},3304:function(e,t,n){n.d(t,{ZP:function(){return Q},uV:function(){return W}});var r=n(2982),i=n(885),o=n(4942),a=n(4358),s=n(265),d=n(59),c=n(5339),u=n(8928),l=n(3193),p=n(2797),f=n(4614),m={};function g(e,t,n){var r=function(e,t){var n=m[e]=m[e]||{bidders:{}};return t?n.bidders[t]=n.bidders[t]||{}:n}(e,n);return r[t]=(r[t]||0)+1,r[t]}function v(e){return g(e,"requestsCounter")}function b(e){return(0,s.Z)(m,"".concat(e,".requestsCounter"))||0}function h(e,t){return(0,s.Z)(m,"".concat(e,".bidders.").concat(t,".requestsCounter"))||0}function y(e,t){return(0,s.Z)(m,"".concat(e,".bidders.").concat(t,".winsCounter"))||0}var _=n(5102),w=n(4516),I=n(2021),x=n(2200),S=n(9128),O=n(1176),E=n(9633),k=n(571),T=n(4947),C=n(6310),A=n(1087);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{}).getS2SBidders;if(null==t)return e;var r=(void 0===n?W:n)(t);return e.filter((function(e){return r.has(e.bidder)}))}),"filterBidsForAdUnit"),G=(0,p.z3)("sync",(function(e,t){return e}),"setupAdUnitMediaTypes");function W(e){(0,a.kJ)(e)||(e=[e]);var t=new Set([null]);return e.filter((function(e){return e&&e.enabled})).flatMap((function(e){return e.bidders})).forEach((function(e){return t.add(e)})),t}var K=(0,p.z3)("sync",(function(e,t){var n,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).getS2SBidders,i=(void 0===r?W:r)(t);return(0,a.pP)(e).reduce((function(e,t){return e[i.has(t)?B:D].push(t),e}),(n={},(0,o.Z)(n,D,[]),(0,o.Z)(n,B,[]),n))}),"partitionBidders");function J(e,t){var n=z[e],r=(null==n?void 0:n.getSpec)&&n.getSpec();if(r&&r[t]&&"function"==typeof r[t])return[r,r[t]]}function X(e,t,n,r){try{(0,a.PN)("Invoking ".concat(e,".").concat(t));for(var i=arguments.length,o=new Array(i>4?i-4:0),s=4;s5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6?arguments[6]:void 0;s=(0,S.Bf)(s),I.j8(x.FP.BEFORE_REQUEST_BIDS,e),(0,d.Fb)(e),e.forEach((function(e){(0,a.PO)(e.mediaTypes)||(e.mediaTypes={}),e.bids=e.bids.filter((function(e){return!e.bidder||U.isAllowed(T.UE,L(E.UL,e.bidder))})),v(e.code)})),e=G(e,i);var c=K(e,Z),u=c[D],p=c[B];l.vc.getConfig("bidderSequence")===l.FD&&(u=(0,a.TV)(u));var m=(0,_.nH)(),g=[],b=o.global||{},h=o.bidder||{};function y(e,t){var r=U.redact(null!=t?t:L(E.UL,e.bidderCode)),i=Object.freeze(r.ortb2((0,a.Ee)({source:{tid:n}},b,h[e.bidderCode])));return e.ortb2=i,e.bids=e.bids.map((function(e){return e.ortb2=i,r.bidRequest(e)})),e}Z.forEach((function(r){var i=F(r);if(r&&r.enabled&&U.isAllowed(T.UE,i)){var o=function(e,t){var n=(0,a.I8)(e),r=!1;return n.forEach((function(e){var n=e.bids.filter((function(e){var n;return e.module===R&&(null===(n=e.params)||void 0===n?void 0:n.configName)===t.configName}));1===n.length?(e.s2sBid=n[0],r=!0,e.ortb2Imp=(0,a.Ee)({},e.s2sBid.ortb2Imp,e.ortb2Imp)):n.length>1&&(0,a.yN)('Multiple "module" bids for the same s2s configuration; all will be ignored',n),e.bids=V(e.bids,t).map((function(e){return e.bid_id=(0,a._d)(),e}))})),{adUnits:n=n.filter((function(e){return 0!==e.bids.length||null!=e.s2sBid})),hasModuleBids:r}}(e,r),d=o.adUnits,c=o.hasModuleBids,u=(0,a.DO)();(0===p.length&&c?[null]:p).forEach((function(e){var o=(0,a._d)(),c=s.fork(),l=y({bidderCode:e,auctionId:n,bidderRequestId:o,uniquePbsTid:u,bids:H({bidderCode:e,auctionId:n,bidderRequestId:o,adUnits:(0,a.I8)(d),src:x.os.SRC,metrics:c}),auctionStart:t,timeout:r.timeout,src:x.os.SRC,refererInfo:m,metrics:c},i);0!==l.bids.length&&g.push(l)})),d.forEach((function(e){var t=e.bids.filter((function(e){return(0,f.sE)(g,(function(t){return(0,f.sE)(t.bids,(function(t){return t.bidId===e.bid_id}))}))}));e.bids=t})),g.forEach((function(e){void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=d.filter((function(e){return e.bids.length>0||null!=e.s2sBid})))}))}}));var O=function(e){var t=(0,a.I8)(e);return t.forEach((function(e){e.bids=V(e.bids,null)})),t.filter((function(e){return 0!==e.bids.length}))}(e);return u.forEach((function(e){var o=(0,a._d)(),d=s.fork(),c=y({bidderCode:e,auctionId:n,bidderRequestId:o,bids:H({bidderCode:e,auctionId:n,bidderRequestId:o,adUnits:(0,a.I8)(O),labels:i,src:"client",metrics:d}),auctionStart:t,timeout:r,refererInfo:m,metrics:d}),u=z[e];u||(0,a.H)("Trying to make a request for bidder that does not exist: ".concat(e)),u&&c.bids&&0!==c.bids.length&&g.push(c)})),g.forEach((function(e){w.rp.getConsentData()&&(e.gdprConsent=w.rp.getConsentData()),w.nX.getConsentData()&&(e.uspConsent=w.nX.getConsentData()),w.TJ.getConsentData()&&(e.gppConsent=w.TJ.getConsentData())})),g}),"makeBidRequests"),N.callBids=function(e,t,n,r,o,s,d){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(t.length){var p=t.reduce((function(e,t){return e[Number(void 0!==t.src&&t.src===x.os.SRC)].push(t),e}),[[],[]]),f=(0,i.Z)(p,2),m=f[0],g=f[1],v=[];g.forEach((function(e){for(var t=-1,n=0;n0?_.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only')),m.forEach((function(e){I.j8(x.FP.BID_REQUESTED,j(j({},e),{},{tid:e.auctionId}))})),l.callBids(h,g,n,(function(e){return y.forEach((function(t){return t(e)}))}),t)}}else(0,a.H)("missing "+e.adapter);b++}})),m.forEach((function(e){e.start=(0,a.AB)();var t=z[e.bidderCode];l.vc.runWithBidder(e.bidderCode,(function(){(0,a.ji)("CALLING BIDDER"),I.j8(x.FP.BID_REQUESTED,e)}));var i=(0,u.OI)(s,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0),c=r.bind(e);try{l.vc.runWithBidder(e.bidderCode,t.callBids.bind(t,e,n,c,i,(function(){return d(e.bidderRequestId)}),l.vc.callbackWithBidder(e.bidderCode)))}catch(t){(0,a.H)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:t,bidRequest:e}),c()}}))}else(0,a.yN)("callBids executed with no bidRequests. Were they filtered by labels or sizing?")},N.videoAdapters=[],N.registerBidAdapter=function(e,t){var n,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===r?[]:r;e&&t?"function"==typeof e.callBids?(z[t]=e,w.qh.register(E.UL,t,null===(n=e.getSpec)||void 0===n?void 0:n.call(e).gvlid),(0,f.q9)(i,"video")&&N.videoAdapters.push(t),(0,f.q9)(i,"native")&&d.Sg.push(t)):(0,a.H)("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):(0,a.H)("bidAdapter or bidderCode not specified")},N.aliasBidAdapter=function(e,t,n){if(void 0===z[t]){var r=z[e];if(void 0===r){var i=[];Z.forEach((function(n){if(n.bidders&&n.bidders.length){var r=n&&n.bidders;n&&(0,f.q9)(r,t)?M[t]=e:i.push(e)}})),i.forEach((function(e){(0,a.H)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var o,s=function(e){var t=[];return(0,f.q9)(N.videoAdapters,e)&&t.push("video"),(0,f.q9)(d.Sg,e)&&t.push("native"),t}(e);if(r.constructor.prototype!=Object.prototype)(o=new r.constructor).setBidderCode(t);else{var u=r.getSpec(),l=n&&n.gvlid;null!=u.gvlid&&null==l&&(0,a.yN)("Alias '".concat(t,"' will NOT re-use the GVL ID of the original adapter ('").concat(u.code,"', gvlid: ").concat(u.gvlid,"). Functionality that requires TCF consent may not work as expected."));var p=n&&n.skipPbsAliasing;o=(0,c.PZ)(Object.assign({},u,{code:t,gvlid:l,skipPbsAliasing:p})),M[t]=e}N.registerBidAdapter(o,t,{supportedMediaTypes:s})}catch(t){(0,a.H)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,a.ji)('alias name "'+t+'" has been already specified.')},N.resolveAlias=function(e){for(var t,n=e;M[n]&&(!t||!t.has(n));)n=M[n],(t=t||new Set).add(n);return n},N.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code,r=e.gvlid;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,q[n]={adapter:t,gvlid:r},w.qh.register(E._U,n,r)):(0,a.H)('Prebid Error: Analytics adaptor error for analytics "'.concat(n,'"\n analytics adapter must implement an enableAnalytics() function')):(0,a.H)("Prebid Error: analyticsAdapter or analyticsCode not specified")},N.enableAnalytics=function(e){(0,a.kJ)(e)||(e=[e]),e.forEach((function(e){var t=q[e.provider];t&&t.adapter?U.isAllowed(T.x$,L(E._U,e.provider,(0,o.Z)({},C.Hw,e)))&&t.adapter.enableAnalytics(e):(0,a.H)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))}))},N.getBidAdapter=function(e){return z[e]},N.getAnalyticsAdapter=function(e){return q[e]},N.callTimedOutBidders=function(e,t,n){t=t.map((function(t){return t.params=(0,a.S0)(e,t.adUnitCode,t.bidder),t.timeout=n,t})),t=(0,a.vM)(t,"bidder"),Object.keys(t).forEach((function(e){$(e,"onTimeout",t[e])}))},N.callBidWonBidder=function(e,t,n){t.params=(0,a.S0)(n,t.adUnitCode,t.bidder),g(t.adUnitCode,"winsCounter",t.bidder),$(e,"onBidWon",t)},N.callBidBillableBidder=function(e){$(e.bidder,"onBidBillable",e)},N.callSetTargetingBidder=function(e,t){$(e,"onSetTargeting",t)},N.callBidViewableBidder=function(e,t){$(e,"onBidViewable",t)},N.callBidderError=function(e,t,n){$(e,"onBidderError",{error:t,bidderRequest:n})},N.callDataDeletionRequest=(0,p.z3)("sync",(function(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===n?b.K.index:n;function i(e){return"Invalid bid from ".concat(t.bidderCode,". Ignoring bid: ").concat(e)}return e?t?function(){var e=Object.keys(t);return S.every((function(n){return(0,m.q9)(e,n)&&!(0,m.q9)([void 0,null],t[n])}))}()?"native"!==t.mediaType||(0,u.r4)(t,{index:r})?"video"!==t.mediaType||(0,l.Dn)(t,{index:r})?!("banner"===t.mediaType&&!R(e,t,{index:r})&&((0,g.H)(i("Banner bids require a width and height")),1)):((0,g.H)(i("Video bid does not have required vastUrl or renderer property")),!1):((0,g.H)(i("Native bid missing some required properties.")),!1):((0,g.H)(i("Bidder ".concat(t.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1):((0,g.yN)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):((0,g.yN)("No adUnitCode was supplied to addBidResponse."),!1)}(e,t)}))?r(e,t):r.reject(e,t,p.Gw.INVALID)}(n.adUnitCode,i)}else(0,g.yN)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(t.requestId,". Ignoring.")),r.reject(null,t,p.Gw.INVALID_REQUEST_ID)},onCompletion:U})}else U()}function U(){o(),s.vc.runWithBidder(e.code,(function(){f.j8(p.FP.BIDDER_DONE,n),t(C,n.gdprConsent,n.uspConsent,n.gppConsent)}))}}});function t(t,n,r,i){P(e,t,n,r,i)}}var T=["paapiAuctionConfigs","fledgeAuctionConfigs"],C=["bids"].concat(T),A=(0,v.z3)("sync",(function(e,t,n,o,a,s){var d=s.onRequest,c=s.onResponse,u=s.onPaapi,l=s.onError,p=s.onBid,f=s.onCompletion,m=D(n);f=m.startTiming("total").stopBefore(f);var v=m.measureTime("buildRequests",(function(){return e.buildRequests(t,n)}));if(v&&0!==v.length){Array.isArray(v)||(v=[v]);var b=(0,g.yx)(f,v.length);v.forEach((function(t){var n=m.fork();function s(e){null!=e&&(e.metrics=n.fork().renameWith()),p(e)}var f=a((function(r,o){y();try{r=JSON.parse(r)}catch(e){}r={body:r,headers:{get:o.getResponseHeader.bind(o)}},c(r);try{r=n.measureTime("interpretResponse",(function(){return e.interpretResponse(r,t)}))}catch(t){return(0,g.H)("Bidder ".concat(e.code," failed to interpret the server's response. Continuing without bids"),null,t),void b()}var a,d;r&&!Object.keys(r).some((function(e){return!C.includes(e)}))?(a=r.bids,d=function(e){var t=T.map((function(t){return e[t]})),n=(0,i.Z)(t,2),r=n[0],o=n[1];if(null!=r&&null!=o)throw new Error("Adapter response should use ".concat(T[0]," over ").concat(T[1],", not both"));return null!=r?r:o}(r)):a=r,(0,g.kJ)(d)&&d.forEach(u),a&&((0,g.kJ)(a)?a.forEach(s):s(a)),b()})),v=a((function(e,t){y(),l(e,t),b()}));d(t);var y=n.startTiming("net");function S(n){var r,i=t.options;return Object.assign(n,i,{browsingTopics:!(null!=i&&i.hasOwnProperty("browsingTopics")&&!i.browsingTopics)&&(null===(r=h.S.get(e.code,"topicsHeader"))||void 0===r||r)&&(0,_.xD)(x.oK,(0,w.T)(I.UL,e.code))})}switch(t.method){case"GET":o("".concat(t.url).concat(function(e){return e?"?".concat("object"===(0,r.Z)(e)?(0,g.Re)(e):e):""}(t.data)),{success:f,error:v},void 0,S({method:"GET",withCredentials:!0}));break;case"POST":o(t.url,{success:f,error:v},"string"==typeof t.data?t.data:JSON.stringify(t.data),S({method:"POST",contentType:"text/plain",withCredentials:!0}));break;default:(0,g.yN)("Skipping invalid request from ".concat(e.code,". Request type ").concat(t.type," must be GET or POST")),b()}}))}else f()}),"processBidderRequests"),P=(0,v.z3)("async",(function(e,t,n,r,i){var o=s.vc.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(o||!a.ZP.aliasRegistry[e.code])){var d=s.vc.getConfig("userSync.filterSettings"),u=e.getUserSyncs({iframeEnabled:!(!d||!d.iframe&&!d.all),pixelEnabled:!(!d||!d.image&&!d.all)},t,n,r,i);u&&(Array.isArray(u)||(u=[u]),u.forEach((function(t){c.k_.registerSync(t.type,e.code,t.url)})),c.k_.bidderDone(e.code))}}),"registerSyncs"),j=(0,v.z3)("sync",(function(e,t){}),"addComponentAuction");function R(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===n?b.K.index:n;if((t.width||0===parseInt(t.width,10))&&(t.height||0===parseInt(t.height,10)))return t.width=parseInt(t.width,10),t.height=parseInt(t.height,10),!0;var o=r.getBidRequest(t),a=r.getMediaTypes(t),s=o&&o.sizes||a&&a.banner&&a.banner.sizes,d=(0,g.sF)(s);if(1===d.length){var c=d[0].split("x"),u=(0,i.Z)(c,2),l=u[0],p=u[1];return t.width=parseInt(l,10),t.height=parseInt(p,10),!0}return!1}function D(e){return(0,y.Bf)(e.metrics).renameWith((function(t){return["adapter.client.".concat(t),"adapters.client.".concat(e.bidderCode,".").concat(t)]}))}},5730:function(e,t,n){n.d(t,{B:function(){return s}});var r=n(4614),i=n(4358),o=new WeakMap,a=["debugging","adloox","criteo","outstream","adagio","spotx","browsi","brandmetrics","justtag","tncId","akamaidap","ftrackId","inskin","hadron","medianet","improvedigital","azerionedge","aaxBlockmeter","confiant","arcspan","airgrid","clean.io","a1Media","geoedge","mediafilter","qortex","dynamicAdBoost","contxtful","id5","lucead"];function s(e,t,n,s,d){if(t&&e){if((0,r.q9)(a,t)){s||(s=document);var c=p(s,e);if(c)return n&&"function"==typeof n&&(c.loaded?n():c.callbacks.push(n)),c.tag;var u=o.get(s)||{},l={loaded:!1,tag:null,callbacks:[]};return u[e]=l,o.set(s,u),n&&"function"==typeof n&&l.callbacks.push(n),(0,i.yN)("module ".concat(t," is loading external JavaScript")),function(t,n,r,o){r||(r=document);var a=r.createElement("script");a.type="text/javascript",a.async=!0;var s=p(r,e);return s&&(s.tag=a),a.readyState?a.onreadystatechange=function(){"loaded"!==a.readyState&&"complete"!==a.readyState||(a.onreadystatechange=null,n())}:a.onload=function(){n()},a.src=t,o&&(0,i.D9)(a,o),(0,i.jC)(a,r),a}(e,(function(){l.loaded=!0;try{for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:3e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.request,r=t.done,i=function(t,n){var r,i,a;null==e||null!=(null===(r=n)||void 0===r?void 0:r.signal)||o.vc.getConfig("disableAjaxTimeout")||(a=s.timeout(e,t),n=Object.assign({signal:a.signal},n));var d=s.fetch(t,n);return null!=(null===(i=a)||void 0===i?void 0:i.done)&&(d=d.finally(a.done)),d};return null==n&&null==r||(i=function(e){return function(t,i){var o=new URL(null==(null==t?void 0:t.url)?t:t.url,document.location).origin,a=e(t,i);return n&&n(o),r&&(a=a.finally((function(){return r(o)}))),a}}(i)),i}function p(e,t){var n=e.status,r=e.statusText,i=void 0===r?"":r,o=e.headers,s=e.url,d=0;function c(e){if(0===d)try{var n,r;d=(new DOMParser).parseFromString(t,null==o||null===(n=o.get(u))||void 0===n||null===(r=n.split(";"))||void 0===r?void 0:r[0])}catch(t){d=null,e&&e(t)}return d}return{readyState:XMLHttpRequest.DONE,status:n,statusText:i,responseText:t,response:t,responseType:"",responseURL:s,get responseXML(){return c(a.H)},getResponseHeader:function(e){return null!=o&&o.has(e)?o.get(e):null},toJSON:function(){return Object.assign({responseXML:c()},this)},timedOut:!1}}function f(e,t){var n="object"===(0,i.Z)(t)&&null!=t?t:{success:"function"==typeof t?t:function(){return null},error:function(e,t){return(0,a.H)("Network error",e,t)}},o=n.success,s=n.error;e.then((function(e){return e.text().then((function(t){return[e,t]}))})).then((function(e){var t=(0,r.Z)(e,2),n=t[0],i=t[1],a=p(n,i);n.ok||304===n.status?o(i,a):s(n.statusText,a)}),(function(e){return s("",Object.assign(p({status:0},""),{reason:e,timedOut:"AbortError"===(null==e?void 0:e.name)}))}))}function m(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=l(arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,{request:e.request,done:e.done});return function(e,n,r){f(t(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.method||(t?c:d);if(r===d&&t){var i=(0,a.en)(e,n);Object.assign(i.search,t),e=(0,a.Q2)(i)}var o=new Headers(n.customHeaders);o.set(u,n.contentType||"text/plain");var l={method:r,headers:o};return r!==d&&t&&(l.body=t),n.withCredentials&&(l.credentials="include"),n.browsingTopics&&isSecureContext&&(l.browsingTopics=!0),s.makeRequest(e,l)}(e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})),n)}}var g=m();l()},1176:function(e,t,n){n.d(t,{K:function(){return ee}});var r=n(885),i=n(2982),o=n(4358),a=n(1002),s=n(265),d=n(6463),c=n(59),u=n(8928),l=n(3193);function p(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,n=void 0===t?ee.index:t,r=e.vastXml?e.vastXml:function(e,t){var n=(t=t&&(Array.isArray(t)?t:[t]))?t.map((function(e){return"")})).join(""):"";return'\n \n \n prebid.org wrapper\n \n ").concat(n,"\n \n \n \n ")}(e.vastUrl,e.vastImpUrl),i=n.getAuction(e),o={type:"xml",value:r,ttlseconds:Number(e.ttl)+15};return l.vc.getConfig("cache.vasttrack")&&(o.bidder=e.bidder,o.bidid=e.requestId,o.aid=e.auctionId),null!=i&&(o.timestamp=i.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(o.key=e.customCacheKey),o}var f=n(5706),m=n(1974),g=n(2797),v=n(4614),b=n(154),h=n(4679),y=n(5975),_=n(2021),w=n(3304),I=n(2200),x=n(8792),S=n(9128),O=n(8640),E=m.k_.syncUsers,k="completed";_.on(I.FP.BID_ADJUSTMENT,(function(e){!function(e){var t=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.index,s=void 0===a?ee.index:a,d=i.bs,c=void 0===d?y.S:d;n=n||s.getBidRequest(t);var u=null==t?void 0:t.adapterCode,l=(null==t?void 0:t.bidderCode)||(null===(r=n)||void 0===r?void 0:r.bidder),p=c.get(null==t?void 0:t.adapterCode,"adjustAlternateBids"),f=c.getOwn(l,"bidCpmAdjustment")||c.get(p?u:l,"bidCpmAdjustment");if(f&&"function"==typeof f)try{return f(e,Object.assign({},t),n)}catch(e){(0,o.H)("Error during bid adjustment",e)}return e}(e.cpm,e);t>=0&&(e.cpm=t)}(e)}));var T={},C={},A=[],P=(0,O.R)();var j=(0,g.z3)("sync",(function(e,t,n){this.dispatch.call(null,e,t)}),"addBidResponse"),R=(0,g.z3)("sync",(function(e){return e}),"responsesReady"),D=(0,g.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),B=(0,g.z3)("async",(function(e,t){t&&t()}),"bidsBackCallback");function U(e,t){!function(e){var t,n=!0===y.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(n||e.dealId)&&(t=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===n?ee.index:n;if(!t)return{};var i=r.getBidRequest(t),o={};return K(o,W(t.mediaType,e),t,i),e&&y.S.getOwn(e,I.k2.ADSERVER_TARGETING)&&(K(o,y.S.ownSettingsFor(e),t,i),t.sendStandardTargeting=y.S.get(e,"sendStandardTargeting")),t.native&&(o=Object.assign({},o,(0,c.Ur)(t))),o}(e.bidderCode,e)),e.adserverTargeting=Object.assign(e.adserverTargeting||{},t)}(t),(0,S.Bf)(t.metrics).timeSince("addBidResponse","addBidResponse.total"),e.addBidReceived(t),_.j8(I.FP.BID_RESPONSE,t)}function N(e,t,n){var r=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).index,i=void 0===r?ee.index:r,a=!0,d=(0,s.Z)(i.getMediaTypes({requestId:t.originalRequestId||t.requestId,adUnitId:t.adUnitId}),"video"),c=d&&(0,s.Z)(d,"context"),u=d&&(0,s.Z)(d,"useCacheKey");l.vc.getConfig("cache.url")&&(u||c!==b.gZ)&&(!t.videoCacheKey||l.vc.getConfig("cache.ignoreBidderCacheKey")?(a=!1,L(e,t,n,d)):t.vastUrl||((0,o.H)("videoCacheKey specified but not required vastUrl for video bid"),a=!1)),a&&(U(e,t),n())}var z,M,Z=function(e){!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.OI,r={puts:e.map(p)};n(l.vc.getConfig("cache.timeout"))(l.vc.getConfig("cache.url"),function(e){return{success:function(t){var n;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(t,n){e(new Error("Error storing video ad in the cache: ".concat(t,": ").concat(JSON.stringify(n))),[])}}}(t),JSON.stringify(r),{contentType:"text/plain",withCredentials:!0})}(e.map((function(e){return e.bidResponse})),(function(t,n){n.forEach((function(n,r){var i,a=e[r],s=a.auctionInstance,d=a.bidResponse,c=a.afterBidAdded;t?(0,o.yN)("Failed to save to the video cache: ".concat(t,". Video bid must be discarded.")):""===n.uuid?(0,o.yN)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."):(d.videoCacheKey=n.uuid,d.vastUrl||(d.vastUrl=(i=d.videoCacheKey,"".concat(l.vc.getConfig("cache.url"),"?uuid=").concat(i))),U(s,d),c())}))}))};l.vc.getConfig("cache",(function(e){z="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,M="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,n=[[]],r=!1,i=function(e){return e()};return function(o,a,s){var d=M>0?e:i;n[n.length-1].length>=z&&n.push([]),n[n.length-1].push({auctionInstance:o,bidResponse:a,afterBidAdded:s}),r||(r=!0,d((function(){n.forEach(t),n=[[]],r=!1}),M))}}(),L=(0,g.z3)("async",(function(e,t,n,r){q(e,t,n)}),"callPrebidCache");function F(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=void 0===n?ee.index:n;_.j8(I.FP.BID_ADJUSTMENT,e);var i=(null===(t=r.getBidRequest(e))||void 0===t?void 0:t.renderer)||r.getAdUnit(e).renderer,o=e.mediaType,s=r.getMediaTypes(e),c=s&&s[o],u=c&&c.renderer,p=null;u&&u.url&&u.render&&(!0!==u.backupOnly||!e.renderer)?p=u:i&&i.url&&i.render&&(!0!==i.backupOnly||!e.renderer)&&(p=i),p&&(e.renderer=f.Th.install({url:p.url,config:p.options}),e.renderer.setRender(p.render));var m=H(e.mediaType,s,l.vc.getConfig("mediaTypePriceGranularity")),g=(0,d.D)(e.cpm,"object"===(0,a.Z)(m)?m:l.vc.getConfig("customPriceBucket"),l.vc.getConfig("currency.granularityMultiplier"));return e.pbLg=g.low,e.pbMg=g.med,e.pbHg=g.high,e.pbAg=g.auto,e.pbDg=g.dense,e.pbCg=g.custom,e}function H(e,t,n){if(e&&n){if(e===h.pX){var r=(0,s.Z)(t,"".concat(h.pX,".context"),"instream");if(n["".concat(h.pX,"-").concat(r)])return n["".concat(h.pX,"-").concat(r)]}return n[e]}}var V=function(e){return function(t){var n=e||function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,n=void 0===t?ee.index:t,r=H(e.mediaType,n.getMediaTypes(e),l.vc.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&r?"string"==typeof r?r:"custom":l.vc.getConfig("priceGranularity")}(t);return n===I.Ql.AUTO?t.pbAg:n===I.Ql.DENSE?t.pbDg:n===I.Ql.LOW?t.pbLg:n===I.Ql.MEDIUM?t.pbMg:n===I.Ql.HIGH?t.pbHg:n===I.Ql.CUSTOM?t.pbCg:void 0}};function G(e,t){return{key:e,val:"function"==typeof t?function(e,n){return t(e,n)}:function(e){return(0,o.NA)(e,t)}}}function W(e,t){var n=Object.assign({},y.S.settingsFor(null));if(n[I.k2.ADSERVER_TARGETING]||(n[I.k2.ADSERVER_TARGETING]=[G(I.TD.BIDDER,"bidderCode"),G(I.TD.AD_ID,"adId"),G(I.TD.PRICE_BUCKET,V()),G(I.TD.SIZE,"size"),G(I.TD.DEAL,"dealId"),G(I.TD.SOURCE,"source"),G(I.TD.FORMAT,"mediaType"),G(I.TD.ADOMAIN,(function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?[e.meta.advertiserDomains].flat()[0]:""})),G(I.TD.ACAT,(function(e){return e.meta&&e.meta.primaryCatId?e.meta.primaryCatId:""})),G(I.TD.DSP,(function(e){return e.meta&&(e.meta.networkId||e.meta.networkName)?(0,s.Z)(e,"meta.networkName")||(0,s.Z)(e,"meta.networkId"):""})),G(I.TD.CRID,(function(e){return e.creativeId?e.creativeId:""}))]),"video"===e){var r=n[I.k2.ADSERVER_TARGETING].slice();if(n[I.k2.ADSERVER_TARGETING]=r,[I.TD.UUID,I.TD.CACHE_ID].forEach((function(e){void 0===(0,v.sE)(r,(function(t){return t.key===e}))&&r.push(G(e,"videoCacheKey"))})),l.vc.getConfig("cache.url")&&(!t||!1!==y.S.get(t,"sendStandardTargeting"))){var i=(0,o.en)(l.vc.getConfig("cache.url"));void 0===(0,v.sE)(r,(function(e){return e.key===I.TD.CACHE_HOST}))&&r.push(G(I.TD.CACHE_HOST,(function(e){return(0,s.Z)(e,"adserverTargeting.".concat(I.TD.CACHE_HOST))?e.adserverTargeting[I.TD.CACHE_HOST]:i.hostname})))}}return n}function K(e,t,n,r){var i=t[I.k2.ADSERVER_TARGETING];return n.size=n.getSize(),(i||[]).forEach((function(i){var a=i.key,s=i.val;if(e[a]&&(0,o.yN)("The key: "+a+" is being overwritten"),(0,o.LQ)(s))try{s=s(n,r)}catch(e){(0,o.H)("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&a!==I.TD.DEAL&&a!==I.TD.ACAT&&a!==I.TD.DSP&&a!==I.TD.CRID||!(0,o.jH)(s)&&null!=s?e[a]=s:(0,o.PN)("suppressing empty key '"+a+"' from adserver targeting")})),e}function J(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function X(e){Object.assign(this,{getAuction:function(t){var n=t.auctionId;if(null!=n)return e().find((function(e){return e.getAuctionId()===n}))},getAdUnit:function(t){var n=t.adUnitId;if(null!=n)return e().flatMap((function(e){return e.getAdUnits()})).find((function(e){return e.adUnitId===n}))},getMediaTypes:function(e){var t=e.adUnitId,n=e.requestId;if(null!=n){var r=this.getBidRequest({requestId:n});if(null!=r&&(null==t||r.adUnitId===t))return r.mediaTypes}else if(null!=t){var i=this.getAdUnit({adUnitId:t});if(null!=i)return i.mediaTypes}},getBidderRequest:function(t){var n=t.requestId,r=t.bidderRequestId;if(null!=n||null!=r){var i=e().flatMap((function(e){return e.getBidRequests()}));return null!=r&&(i=i.filter((function(e){return e.bidderRequestId===r}))),null==n?i[0]:i.find((function(e){return e.bids&&null!=e.bids.find((function(e){return e.bidId===n}))}))}},getBidRequest:function(t){var n=t.requestId;if(null!=n)return e().flatMap((function(e){return e.getBidRequests()})).flatMap((function(e){return e.bids})).find((function(e){return e&&e.bidId===n}))}})}var $=n(613),Q=n(8833);function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.getAuctionId()===e)return i}}catch(e){r.e(e)}finally{r.f()}}function s(){return t.toArray().flatMap((function(e){return e.getBidsReceived()}))}return n.addWinningBid=function(e){var t=(0,S.Bf)(e.metrics);t.checkpoint("bidWon"),t.timeBetween("auctionEnd","bidWon","render.pending"),t.timeBetween("requestBids","bidWon","render.e2e");var n=a(e.auctionId);n?(e.status=I.UE.RENDERED,n.addWinningBid(e)):(0,o.yN)("Auction not found when adding winning bid")},Object.entries({getAllWinningBids:{name:"getWinningBids"},getBidsRequested:{name:"getBidRequests"},getNoBids:{},getAdUnits:{},getBidsReceived:{pre:function(e){return e.getAuctionStatus()===k}},getAdUnitCodes:{post:o.tT}}).forEach((function(e){var i=(0,r.Z)(e,2),o=i[0],a=i[1],s=a.name,d=void 0===s?o:s,c=a.pre,u=a.post,l=null==c?function(e){return e[d]()}:function(e){return c(e)?e[d]():[]},p=null==u?function(e){return e}:function(e){return e.filter(u)};n[o]=function(){return p(t.toArray().flatMap(l))}})),n.getAllBidsForAdUnitCode=function(e){return s().filter((function(t){return t&&t.adUnitCode===e}))},n.createAuction=function(e){var n=function(e){var t=e.adUnits,n=e.adUnitCodes,r=e.callback,i=e.cbTimeout,a=e.labels,s=e.auctionId,d=e.ortb2Fragments,u=e.metrics;u=(0,S.Bf)(u);var p,f,m,g,b=t,y=a,O=n,z=s||(0,o.DO)(),M=i,Z=new Set,q=(0,x.P)(),L=[],H=r,V=[],G=[],W=[],K=[],X=[];function $(){return{auctionId:z,timestamp:p,auctionEnd:f,auctionStatus:g,adUnits:b,adUnitCodes:O,labels:y,bidderRequests:V,noBids:W,bidsReceived:G,bidsRejected:L,winningBids:K,timeout:M,metrics:u,seatNonBids:X}}function Q(e){if(e?_.j8(I.FP.AUCTION_TIMEOUT,$()):clearTimeout(m),void 0===f){var n=[];e&&((0,o.ji)("Auction ".concat(z," timedOut")),(n=V.filter((function(e){return!Z.has(e.bidderRequestId)})).flatMap((function(e){return e.bids}))).length&&_.j8(I.FP.BID_TIMEOUT,n)),g=k,f=Date.now(),u.checkpoint("auctionEnd"),u.timeBetween("requestBids","auctionEnd","requestBids.total"),u.timeBetween("callBids","auctionEnd","requestBids.callBids"),q.resolve(),_.j8(I.FP.AUCTION_END,$()),B(b,(function(){try{if(null!=H){var r=G.filter((function(e){return O.includes(e.adUnitCode)})).reduce(J,{});H.apply(P,[r,e,z]),H=null}}catch(e){(0,o.H)("Error executing bidsBackHandler",null,e)}finally{n.length&&w.ZP.callTimedOutBidders(t,n,M);var i=l.vc.getConfig("userSync")||{};i.enableOverride||E(i.syncDelay)}}))}}function Y(){l.vc.resetBidder(),(0,o.PN)("Bids Received for Auction with id: ".concat(z),G),g=k,Q(!1)}function te(e){Z.add(e)}function ne(e){var t=this;e.forEach((function(e){var t;t=e,V=V.concat(t)}));var n={},r={bidRequests:e,run:function(){m=setTimeout((function(){return Q(!0)}),M),g="inProgress",_.j8(I.FP.AUCTION_INIT,$());var r=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===n?ee.index:n,i=0,a=!1,s=new Set,d={};function u(){i--,a&&0===i&&e()}function p(e,t,n){return d[t.requestId]=!0,function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===n?ee.index:n,i=r.getBidderRequest(e),a=r.getAdUnit(e),s=i&&i.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,o.AB)(),requestTimestamp:e.requestTimestamp||s,cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:t}),null!=(null==a?void 0:a.ttlBuffer)&&(e.ttlBuffer=a.ttlBuffer),e.timeToRespond=e.responseTimestamp-e.requestTimestamp}(t,e),i++,n(u)}function f(e,n){p(e,n,(function(e){var i=F(n);_.j8(I.FP.BID_ACCEPTED,i),i.mediaType===h.pX?N(t,i,e):((0,c.ub)(i)&&(0,c.kH)(i,r.getAdUnit(i)),U(t,i),e())}))}function m(e,n,r){return p(e,n,(function(e){n.rejectionReason=r,(0,o.yN)("Bid from ".concat(n.bidder||"unknown bidder"," was rejected: ").concat(r),n),_.j8(I.FP.BID_REJECTED,n),t.addBidRejected(n),e()}))}function g(){var n=t.getBidRequests(),r=l.vc.getConfig("auctionOptions");if(s.add(this),r&&!(0,o.xb)(r)){var c=r.secondaryBidders;c&&!n.every((function(e){return(0,v.q9)(c,e.bidderCode)}))&&(n=n.filter((function(e){return!(0,v.q9)(c,e.bidderCode)})))}a=n.every((function(e){return s.has(e)})),this.bids.forEach((function(e){d[e.bidId]||(t.addNoBid(e),_.j8(I.FP.NO_BID,e))})),a&&0===i&&e()}return{addBidResponse:function(){function e(e,t){var n;j.call({dispatch:f},e,t,(n=!1,function(r){n||(m(e,t,r),n=!0)}))}return e.reject=m,e}(),adapterDone:function(){var e=this;R(x.Z.resolve()).finally((function(){return g.call(e)}))}}}(Y,t);w.ZP.callBids(b,e,r.addBidResponse,r.adapterDone,{request:function(e,t){a(T,t),a(n,e),C[e]||(C[e]={SRA:!0,origin:t}),n[e]>1&&(C[e].SRA=!1)},done:function(e){T[e]--,A[0]&&i(A[0])&&A.shift()}},M,te,d)}};function i(e){var t=!0,n=l.vc.getConfig("maxRequestsPerOrigin")||4;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===I.os.SRC?"s2s":e.bidderCode;return C[i]&&(!1===C[i].SRA&&(r=Math.min(e.bids.length,n)),T[C[i].origin]+r>n&&(t=!1)),!t})),t&&e.run(),t}function a(e,t){void 0===e[t]?e[t]=1:e[t]++}i(r)||((0,o.yN)("queueing auction due to limited endpoint capacity"),A.push(r))}return _.on(I.FP.SEAT_NON_BID,(function(e){var t;e.auctionId===z&&(t=e.seatnonbid,X=X.concat(t))})),{addBidReceived:function(e){G=G.concat(e)},addBidRejected:function(e){L=L.concat(e)},addNoBid:function(e){W=W.concat(e)},callBids:function(){g="started",p=Date.now();var e=u.measureTime("requestBids.makeRequests",(function(){return w.ZP.makeBidRequests(b,p,z,M,y,d,u)}));(0,o.PN)("Bids Requested for Auction with id: ".concat(z),e),u.checkpoint("callBids"),e.length<1?((0,o.yN)("No valid bid requests returned for auction"),Y()):D.call({dispatch:ne,context:this},e)},addWinningBid:function(e){var n=t.find((function(t){return t.adUnitId===e.adUnitId}));K=K.concat(e),(0,o.R_)(e),w.ZP.callBidWonBidder(e.adapterCode||e.bidder,e,t),n&&!n.deferBilling&&w.ZP.callBidBillableBidder(e)},setBidTargeting:function(e){w.ZP.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:function(){return K},getAuctionStart:function(){return p},getAuctionEnd:function(){return f},getTimeout:function(){return M},getAuctionId:function(){return z},getAuctionStatus:function(){return g},getAdUnits:function(){return b},getAdUnitCodes:function(){return O},getBidRequests:function(){return V},getBidsReceived:function(){return G},getNoBids:function(){return W},getNonBids:function(){return X},getFPD:function(){return d},getMetrics:function(){return u},end:q.promise}}(e);return function(e){t.add(e)}(n),n},n.findBidByAdId=function(e){return s().find((function(t){return t.adId===e}))},n.getStandardBidderAdServerTargeting=function(){return W()[I.k2.ADSERVER_TARGETING]},n.setStatusForBids=function(e,t){var r=n.findBidByAdId(e);if(r&&(r.status=t),r&&t===I.UE.BID_TARGETING_SET){var i=a(r.auctionId);i&&i.setBidTargeting(r)}},n.getLastAuctionId=function(){var e=t.toArray();return e.length&&e[e.length-1].getAuctionId()},n.clearAllAuctions=function(){t.clear()},n.index=new X((function(){return t.toArray()})),n}()},8833:function(e,t,n){n.d(t,{N:function(){return s},l:function(){return d}});var r=n(3193),i=n(4358),o=1,a=[];function s(e){return e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:o)}function d(e){a.push(e)}r.vc.getConfig("ttlBuffer",(function(e){"number"==typeof e.ttlBuffer?o!==(o=e.ttlBuffer)&&a.forEach((function(e){return e(o)})):(0,i.H)("Invalid value for ttlBuffer",e.ttlBuffer)}))},5975:function(e,t,n){n.d(t,{S:function(){return p}});var r=n(5671),i=n(3144),o=n(265),a=n(4358),s=n(8640),d=n(2200);function c(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var u=new WeakSet;function l(e){return null==e?this.defaultScope:e}var p=new(function(){function e(t,n){(0,r.Z)(this,e),function(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}(this,u),this.getSettings=t,this.defaultScope=n}return(0,i.Z)(e,[{key:"get",value:function(e,t){var n=this.getOwn(e,t);return void 0===n&&(n=this.getOwn(null,t)),n}},{key:"getOwn",value:function(e,t){return e=c(this,u,l).call(this,e),(0,o.Z)(this.getSettings(),"".concat(e,".").concat(t))}},{key:"getScopes",value:function(){var e=this;return Object.keys(this.getSettings()).filter((function(t){return t!==e.defaultScope}))}},{key:"settingsFor",value:function(e){return(0,a.Ee)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}},{key:"ownSettingsFor",value:function(e){return e=c(this,u,l).call(this,e),this.getSettings()[e]||{}}}]),e}())((function(){return(0,s.R)().bidderSettings||{}}),d.k2.BD_SETTING_STANDARD)},9626:function(e,t,n){n.d(t,{m:function(){return o}});var r=n(4358);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.src,i=void 0===n?"client":n,o=t.bidder,a=void 0===o?"":o,s=t.bidId,d=t.transactionId,c=t.adUnitId,u=t.auctionId,l=i,p=e||0;Object.assign(this,{bidderCode:a,width:0,height:0,statusMessage:function(){switch(p){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}(),adId:(0,r._d)(),requestId:s,transactionId:d,adUnitId:c,auctionId:u,mediaType:"banner",source:l}),this.getStatusCode=function(){return p},this.getSize=function(){return this.width+"x"+this.height},this.getIdentifiers=function(){return{src:this.source,bidder:this.bidderCode,bidId:this.requestId,transactionId:this.transactionId,adUnitId:this.adUnitId,auctionId:this.auctionId}}}function o(e,t){return new i(e,t)}},3193:function(e,t,n){n.d(t,{FD:function(){return f},vc:function(){return b}});var r=n(4942),i=n(1002),o=n(885),a=n(6463),s=n(4614),d=n(4358),c=n(265),u=n(2200);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var p="TRUE"===(0,d.ak)(u.f).toUpperCase(),f="random",m={};m[f]=!0,m.fixed=!0;var g=f,v={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},b=function(){var e,t,n,u=[],f=null;function b(){function r(e){return c[e].val}function i(e,t){c[e].val=t}e={};var c={publisherDomain:{set:function(e){null!=e&&(0,d.yN)("publisherDomain is deprecated and has no effect since v7 - use pageUrl instead"),i("publisherDomain",e)}},priceGranularity:{val:v.MEDIUM,set:function(e){f(e)&&("string"==typeof e?i("priceGranularity",l(e)?e:v.MEDIUM):(0,d.PO)(e)&&(i("customPriceBucket",e),i("priceGranularity",v.CUSTOM),(0,d.ji)("Using custom price granularity")))}},customPriceBucket:{val:{},set:function(){}},mediaTypePriceGranularity:{val:{},set:function(e){null!=e&&i("mediaTypePriceGranularity",Object.keys(e).reduce((function(t,n){return f(e[n])?"string"==typeof e?t[n]=l(e[n])?e[n]:r("priceGranularity"):(0,d.PO)(e)&&(t[n]=e[n],(0,d.ji)("Using custom price granularity for ".concat(n))):(0,d.yN)("Invalid price granularity for media type: ".concat(n)),t}),{}))}},bidderSequence:{val:g,set:function(e){m[e]?i("bidderSequence",e):(0,d.yN)("Invalid order: ".concat(e,". Bidder Sequence was not set."))}},auctionOptions:{val:{},set:function(e){(function(e){if(!(0,d.PO)(e))return(0,d.yN)("Auction Options must be an object"),!1;for(var t=0,n=Object.keys(e);t2&&void 0!==arguments[2]?arguments[2]:{},i=t;if("string"!=typeof e&&(i=e,e="*",n=t||{}),"function"==typeof i){var o={topic:e,callback:i};return u.push(o),n.init&&i("*"===e?I():(0,r.Z)({},e,I(e))),function(){u.splice(u.indexOf(o),1)}}(0,d.H)("listener must be a function")}function C(e){var t=Object.keys(e);u.filter((function(e){return(0,s.q9)(t,e.topic)})).forEach((function(t){t.callback((0,r.Z)({},t.topic,e[t.topic]))})),u.filter((function(e){return"*"===e.topic})).forEach((function(t){return t.callback(e)}))}function A(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{(function(e){if(!(0,d.PO)(e))throw"setBidderConfig bidder options must be an object";if(!Array.isArray(e.bidders)||!e.bidders.length)throw"setBidderConfig bidder options must contain a bidders list with at least 1 bidder";if(!(0,d.PO)(e.config))throw"setBidderConfig bidder options must contain a config object"})(e),e.bidders.forEach((function(r){n[r]||(n[r]={}),Object.keys(e.config).forEach((function(i){var o=e.config[i];if((0,d.PO)(o)){var a=t?d.Ee:Object.assign;n[r][i]=a({},n[r][i]||{},o)}else n[r][i]=o}))}))}catch(e){(0,d.H)(e)}}function P(e,t){f=e;try{return t()}finally{j()}}function j(){f=null}return b(),{getCurrentBidder:function(){return f},resetBidder:j,getConfig:I,getAnyConfig:w,readConfig:O,readAnyConfig:E,setConfig:k,mergeConfig:function(e){if((0,d.PO)(e)){var t=(0,d.Ee)(h(),e);return k(function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:(0,f.AB)();this.generatedTime=t,(0,p.Z)(this,S,!0),y(this,E,T).call(this,e)}},{key:"getConsentData",value:function(){return(0,l.Z)(this,w)}},{key:"hash",get:function(){var e=this;return(0,l.Z)(this,S)&&((0,p.Z)(this,O,(0,f._R)(JSON.stringify((0,l.Z)(this,w)&&this.hashFields?this.hashFields.map((function(t){return(0,l.Z)(e,w)[t]})):(0,l.Z)(this,w)))),(0,p.Z)(this,S,!1)),(0,l.Z)(this,O)}}]),e}();function T(e){(0,p.Z)(this,x,!0),(0,p.Z)(this,w,e),(0,l.Z)(this,I).resolve(e)}var C,A,P,j=function(e){(0,o.Z)(n,e);var t=v(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,c.Z)(n,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}}]),n}(k),R=function(e){(0,o.Z)(n,e);var t=v(n);function n(){var e;(0,d.Z)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:Z;function t(t){return function(){return Object.fromEntries(e.map((function(e){var n=(0,r.Z)(e,2);return[n[0],n[1][t]()]})))}}return e=Object.entries(e),Object.assign({get promise(){return m.Z.all(e.map((function(e){var t=(0,r.Z)(e,2),n=t[0];return t[1].promise.then((function(e){return[n,e]}))}))).then((function(e){return Object.fromEntries(e)}))},get hash(){return(0,f._R)(e.map((function(e){var t=(0,r.Z)(e,2);return t[0],t[1].hash})).join(":"))}},Object.fromEntries(["getConsentData","getConsentMeta","reset"].map((function(e){return[e,t(e)]}))))}()},2200:function(e,t,n){n.d(t,{FP:function(){return a},FY:function(){return p},Gw:function(){return g},Q_:function(){return o},Ql:function(){return c},TD:function(){return u},UE:function(){return m},V1:function(){return v},X3:function(){return _},aI:function(){return d},f:function(){return i},k2:function(){return r},kF:function(){return l},oF:function(){return h},os:function(){return f},q_:function(){return s},s$:function(){return b},zA:function(){return y}});var r={PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},i="pbjs_debug",o={GOOD:1},a={AUCTION_INIT:"auctionInit",AUCTION_TIMEOUT:"auctionTimeout",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",BID_REJECTED:"bidRejected",NO_BID:"noBid",SEAT_NON_BID:"seatNonBid",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",BIDDER_ERROR:"bidderError",SET_TARGETING:"setTargeting",BEFORE_REQUEST_BIDS:"beforeRequestBids",BEFORE_BIDDER_HTTP:"beforeBidderHttp",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed",AD_RENDER_SUCCEEDED:"adRenderSucceeded",TCF2_ENFORCEMENT:"tcf2Enforcement",AUCTION_DEBUG:"auctionDebug",BID_VIEWABLE:"bidViewable",STALE_RENDER:"staleRender",BILLABLE_EVENT:"billableEvent",BID_ACCEPTED:"bidAccepted"},s={PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocument",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},d={bidWon:"adUnitCode"},c={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},u={BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_ID:"hb_cache_id",CACHE_HOST:"hb_cache_host",ADOMAIN:"hb_adomain",ACAT:"hb_acat",CRID:"hb_crid",DSP:"hb_dsp"},l={BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_HOST:"hb_cache_host"},p={title:"hb_native_title",body:"hb_native_body",body2:"hb_native_body2",privacyLink:"hb_native_privacy",privacyIcon:"hb_native_privicon",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",displayUrl:"hb_native_displayurl",cta:"hb_native_cta",rating:"hb_native_rating",address:"hb_native_address",downloads:"hb_native_downloads",likes:"hb_native_likes",phone:"hb_native_phone",price:"hb_native_price",salePrice:"hb_native_saleprice",rendererUrl:"hb_renderer_url",adTemplate:"hb_adTemplate"},f={SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"pbjsSyncs"},m={BID_TARGETING_SET:"targetingSet",RENDERED:"rendered",BID_REJECTED:"bidRejected"},g={INVALID:"Bid has missing or invalid properties",INVALID_REQUEST_ID:"Invalid request ID",BIDDER_DISALLOWED:"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes",FLOOR_NOT_MET:"Bid does not meet price floor",CANNOT_CONVERT_CURRENCY:"Unable to convert currency",DSA_REQUIRED:"Bid does not provide required DSA transparency info",DSA_MISMATCH:"Bid indicates inappropriate DSA rendering method"},v={body:"desc",body2:"desc2",sponsoredBy:"sponsored",cta:"ctatext",rating:"rating",address:"address",downloads:"downloads",likes:"likes",phone:"phone",price:"price",salePrice:"saleprice",displayUrl:"displayurl"},b={sponsored:1,desc:2,rating:3,likes:4,downloads:5,price:6,saleprice:7,phone:8,address:9,desc2:10,displayurl:11,ctatext:12},h={ICON:1,MAIN:3},y=["privacyIcon","clickUrl","sendTargetingKeys","adTemplate","rendererUrl","type"],_={REQUEST:"Prebid Request",RESPONSE:"Prebid Response",NATIVE:"Prebid Native",EVENT:"Prebid Event"}},6463:function(e,t,n){n.d(t,{D:function(){return l},t:function(){return f}});var r=n(4614),i=n(4358),o=n(3193),a={buckets:[{max:5,increment:.5}]},s={buckets:[{max:20,increment:.1}]},d={buckets:[{max:20,increment:.01}]},c={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},u={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":p(e,a,n),med:""===r?"":p(e,s,n),high:""===r?"":p(e,d,n),auto:""===r?"":p(e,u,n),dense:""===r?"":p(e,c,n),custom:""===r?"":p(e,t,n)}}function p(e,t,n){var a="";if(!f(t))return a;var s=t.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),d=0,c=(0,r.sE)(t.buckets,(function(t){if(e>s.max*n){var r=t.precision;void 0===r&&(r=2),a=(t.max*n).toFixed(r)}else{if(e<=t.max*n&&e>=d*n)return t.min=d,t;d=t.max}}));return c&&(a=function(e,t,n){var r=void 0!==t.precision?t.precision:2,a=t.increment*n,s=t.min*n,d=Math.floor,c=o.vc.getConfig("cpmRoundingFunction");"function"==typeof c&&(d=c);var u,l,p=Math.pow(10,r+2),f=(e*p-s*p)/(a*p);try{u=d(f)*a+s}catch(e){l=!0}return(l||"number"!=typeof u)&&((0,i.yN)("Invalid rounding function passed in config"),u=Math.floor(f)*a+s),(u=Number(u.toFixed(10))).toFixed(r)}(e,c,n)),a}function f(e){if((0,i.xb)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){e.max&&e.increment||(t=!1)})),t}},2021:function(e,t,n){n.d(t,{S1:function(){return v},j8:function(){return h},on:function(){return g},vw:function(){return b}});var r=n(4358),i=n(2200),o=n(613),a=n(3193),s="eventHistoryTTL",d=null,c=(0,o.Z)({monotonic:!0,ttl:function(){return d}});a.vc.getConfig(s,(function(e){var t,n=d;e=null===(t=e)||void 0===t?void 0:t[s],n!==(d="number"==typeof e?1e3*e:null)&&c.refresh()}));var u=Array.prototype.slice,l=Array.prototype.push,p=Object.values(i.FP),f=i.aI,m=function(){var e={},t={};function n(t,n){r.ji("Emitting event for: "+t);var i=n[0]||{},o=i[f[t]],a=e[t]||{que:[]},s=Object.keys(a),d=[];c.add({eventType:t,args:i,id:o,elapsedTime:r.bd()}),o&&s.includes(o)&&l.apply(d,a[o].que),l.apply(d,a.que),(d||[]).forEach((function(e){if(e)try{e.apply(null,n)}catch(e){r.H("Error executing handler:","events.js",e,t)}}))}function i(e){return p.includes(e)}return t.has=i,t.on=function(t,n,o){if(i(t)){var a=e[t]||{que:[]};o?(a[o]=a[o]||{que:[]},a[o].que.push(n)):a.que.push(n),e[t]=a}else r.H("Wrong event name : "+t+" Valid event names :"+p)},t.emit=function(e){n(e,u.call(arguments,1))},t.off=function(t,n,i){var o=e[t];r.xb(o)||r.xb(o.que)&&r.xb(o[i])||i&&(r.xb(o[i])||r.xb(o[i].que))||(i?(o[i].que||[]).forEach((function(e){var t=o[i].que;e===n&&t.splice(t.indexOf(e),1)})):(o.que||[]).forEach((function(e){var t=o.que;e===n&&t.splice(t.indexOf(e),1)})),e[t]=o)},t.get=function(){return e},t.addEvents=function(e){p=p.concat(e)},t.getEvents=function(){return c.toArray().map((function(e){return Object.assign({},e)}))},t}();r.u2(m.emit.bind(m));var g=m.on,v=m.off,b=(m.get,m.getEvents),h=m.emit;m.addEvents,m.has},4078:function(e,t,n){n.d(t,{S:function(){return S}});var r=n(885),i=n(2797),o=n(5102),a=n(8196),s=n(4358),d=n(6475),c=n(3193),u=n(8792),l=["architecture","bitness","model","platformVersion","fullVersionList"],p=["brands","mobile","platform"],f=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window.navigator)||void 0===e?void 0:e.userAgentData,n=t&&p.some((function(e){return void 0!==t[e]}))?Object.freeze(g(1,t)):null;return function(){return n}}(),m=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window.navigator)||void 0===e?void 0:e.userAgentData,n={},r=new WeakMap;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;if(!r.has(e)){var i=Array.from(e);i.sort(),r.set(e,i.join("|"))}var o=r.get(e);if(!n.hasOwnProperty(o))try{n[o]=t.getHighEntropyValues(e).then((function(e){return(0,s.xb)(e)?null:Object.freeze(g(2,e))})).catch((function(){return null}))}catch(e){n[o]=u.Z.resolve(null)}return n[o]}}();function g(e,t){function n(e,t){var n={brand:e};return(0,s.d8)(t)&&!(0,s.jH)(t)&&(n.version=t.split(".")),n}var r={source:e};return t.platform&&(r.platform=n(t.platform,t.platformVersion)),(t.fullVersionList||t.brands)&&(r.browsers=(t.fullVersionList||t.brands).map((function(e){return n(e.brand,e.version)}))),void 0!==t.mobile&&(r.mobile=t.mobile?1:0),["model","bitness","architecture"].forEach((function(e){var n=t[e];(0,s.d8)(n)&&(r[e]=n)})),r}var v=n(3790),b=n(571),h=n(286),y=n(4947),_=n(9633);function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(n[i]=(0,s.Ee)({},o,n[i]))})),i&&(0,d.N)(n,"device.sua",Object.assign({},i,n.device.sua)),o){var u={cdep:o};(0,d.N)(n,"device.ext",Object.assign({},u,n.device.ext))}n=x(n);var l,p=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(v.Iq);try{for(p.s();!(l=p.n()).done;){var f=l.value;if((0,v.Qg)(n,f)){n[f]=(0,s.Ee)({},T(0,a),n[f]);break}}}catch(e){p.e(e)}finally{p.f()}return n}))}));function O(e){try{return e(I.getWindowTop())}catch(t){return e(I.getWindowSelf())}}function E(e){return(0,s.iG)(e,Object.keys(e))}var k={site:function(e,t){if(!v.Iq.filter((function(e){return"site"!==e})).some(v.Qg.bind(null,e)))return E({page:t.page,ref:t.ref})},device:function(){return O((function(e){var t,n={w:e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth,h:e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight,dnt:(0,s.oV)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift()};return null!==(t=e.navigator)&&void 0!==t&&t.webdriver&&(0,d.N)(n,"ext.webdriver",!0),n}))},regs:function(){var e={};O((function(e){return e.navigator.globalPrivacyControl}))&&(0,d.N)(e,"ext.gpc",1);var t=c.vc.getConfig("coppa");return"boolean"==typeof t&&(e.coppa=t?1:0),e}};function T(e,t){var n,r,i,a=(0,o.hh)(t.page,{noLeadingWww:!0});return E({domain:a,keywords:null===(n=O((function(e){return e.document.querySelector("meta[name='keywords']")})))||void 0===n||null===(r=n.content)||void 0===r||null===(i=r.replace)||void 0===i?void 0:i.call(r,/\s/g,""),publisher:E({domain:I.findRootDomain(a)})})}},3790:function(e,t,n){n.d(t,{A_:function(){return o},Iq:function(){return i},Qg:function(){return a}});var r=n(4358),i=["dooh","app","site"];function o(e){return function(t){return i.reduce((function(n,i){return a(t,i)&&(null!=n?((0,r.yN)("".concat(e," specifies both '").concat(n,"' and '").concat(i,"'; dropping the latter.")),delete t[i]):n=i),n}),null),t}}function a(e,t){return null!=e[t]&&Object.keys(e[t]).length>0}},8196:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(4358),i=(0,n(5164).eA)("fpdEnrichment"),o=(0,r.HP)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!i.cookiesAreEnabled())return e;var t,n,o=e.split(".");if(2===o.length)return e;var a=-2,s="_rdc".concat(Date.now()),d="writeable";do{t=o.slice(a).join(".");var c=new Date((0,r.AB)()+1e4).toUTCString();i.setCookie(s,d,c,"Lax",t,void 0),i.getCookie(s,void 0)===d?(n=!1,i.setCookie(s,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,t,void 0)):(a+=-1,n=Math.abs(a)<=o.length)}while(n);return t}))},2797:function(e,t,n){n.d(t,{Bx:function(){return f},Cd:function(){return c},IF:function(){return m},bA:function(){return p},v5:function(){return u},z3:function(){return s}});var r=n(2982),i=n(1432),o=n.n(i),a=n(8792),s=o()({ready:o().SYNC|o().ASYNC|o().QUEUE}),d=(0,a.P)();s.ready=function(){var e=s.ready;return function(){try{return e.apply(s,arguments)}finally{d.resolve()}}}();var c=d.promise,u=s.get,l={};function p(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).postInstallAllowed,i=void 0!==n&&n;s("async",(function(n){n.forEach((function(e){return t.apply(void 0,(0,r.Z)(e))})),i&&(l[e]=t)}),e)([])}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(o.img.ext={aspectratios:u})}else(0,d.H)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,d.H)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,d.U)(r.sizes[0])&&(0,d.U)(r.sizes[1])?(o.img.w=r.sizes[0],o.img.h=r.sizes[1],delete o.img.hmin,delete o.img.wmin):(0,d.H)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===n?o.title={len:r.len||140}:"ext"===n&&(o.ext=r,delete o.required);t.assets.push(o)}else t.privacy=1;else(0,d.H)("Unrecognized native asset code: ".concat(n,". Asset will be ignored."));return t}(0,d.H)("Native assets object is empty or not an object: ",e)}(e.nativeParams))}))}function k(e){var t=e.assets;if(!Array.isArray(t)||0===t.length)return(0,d.H)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",t),!1;var n=t.map((function(e){return e.id}));return t.length!==new Set(n).size||n.some((function(e){return e!==parseInt(e,10)}))?((0,d.H)("each asset object must have 'id' property, it must be unique and it must be an integer"),!1):e.hasOwnProperty("eventtrackers")&&!Array.isArray(e.eventtrackers)?((0,d.H)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):t.every((function(e){return function(e){if(!(0,d.PO)(e))return(0,d.H)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,d.hj)(e.img.w)&&!(0,d.hj)(e.img.wmin))return(0,d.H)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,d.hj)(e.img.h)&&!(0,d.hj)(e.img.hmin))return(0,d.H)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,d.hj)(e.title.len))return(0,d.H)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,d.hj)(e.data.type))return(0,d.H)("for data asset 'type' property must be a number"),!1}else if(e.video&&!(Array.isArray(e.video.mimes)&&Array.isArray(e.video.protocols)&&(0,d.hj)(e.video.minduration)&&(0,d.hj)(e.video.maxduration)))return(0,d.H)("video asset is not properly configured"),!1;return!0}(e)}))}function T(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=(void 0===n?u.K.index:n).getAdUnit(e);if(!r)return!1;var i=r.nativeOrtbRequest;return function(e,t){if(!(0,s.Z)(e,"link.url"))return(0,d.H)("native response doesn't have 'link' property. Ortb response: ",e),!1;var n=t.assets.filter((function(e){return 1===e.required})).map((function(e){return e.id})),r=e.assets.map((function(e){return e.id})),i=n.every((function(e){return(0,c.q9)(r,e)}));return i||(0,d.H)("didn't receive a bid with all required assets. Required ids: ".concat(n,", but received ids in response: ").concat(r)),i}((null===(t=e.native)||void 0===t?void 0:t.ortb)||q(e.native,i),i)}function C(e,t){var n=t.native.ortb||Z(t.native);return"click"===e.action?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).fetchURL,r=void 0===n?d.hq:n;if(t){var i,o=(e.assets||[]).filter((function(e){return e.link})).reduce((function(e,t){return e[t.id]=t.link,e}),{}),a=(null===(i=e.link)||void 0===i?void 0:i.clicktrackers)||[],s=o[t],c=a;s&&(c=s.clicktrackers||[]),c.forEach((function(e){return r(e)}))}else{var u;((null===(u=e.link)||void 0===u?void 0:u.clicktrackers)||[]).forEach((function(e){return r(e)}))}}(n,null==e?void 0:e.assetId):function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.runMarkup,r=void 0===n?function(e){return(0,d.$8)(e)}:n,i=t.fetchURL,o=void 0===i?d.hq:i,a=(e.eventtrackers||[]).filter((function(e){return e.event===x})).reduce((function(e,t){return I.hasOwnProperty(t.method)&&e[I[t.method]].push(t.url),e}),{img:[],js:[]}),s=a.img,c=a.js;e.imptrackers&&(s=s.concat(e.imptrackers)),s.forEach((function(e){return o(e)})),c=c.map((function(e){return'